﻿using System;
using System.Data.Objects;

namespace Prepare.Domain
{
    public interface IUnitOfWork : IDisposable
    {
		ObjectContext Context { get; }
		// static:	IUnitOfWork Current
		//			T GetContext<T>() where T : ObjectContext
		//			IRepository<T> GetRepository<T>() where T : class
        //          void Commit()
    }
}
